﻿<controls:WindowWithKeypadSupport x:Class="ClassicJukebox.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:views="clr-namespace:ClassicJukebox.View"
    xmlns:controls="clr-namespace:ClassicJukebox"
    PreviewKeyDown="WindowWithKeypadSupport_PreviewKeyDown"
    PreviewKeypadDown="WindowWithKeypadSupport_PreviewKeypadDown"
    Title="Classic Jukebox" Height="600" Width="800" WindowState="Maximized" WindowStyle="None">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="0" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <Rectangle Stretch="Fill" VerticalAlignment="Stretch" Grid.RowSpan="2">
            <Rectangle.Fill>
                <RadialGradientBrush RadiusX="1.17615" RadiusY="1.14857" Center="0.110792,0.128999" GradientOrigin="0.110792,0.128999">
                    <RadialGradientBrush.RelativeTransform>
                        <TransformGroup>
                            <SkewTransform CenterX="0.110792" CenterY="0.128999" AngleX="-7.84781" AngleY="0"/>
                            <RotateTransform CenterX="0.110792" CenterY="0.128999" Angle="38.1093"/>
                        </TransformGroup>
                    </RadialGradientBrush.RelativeTransform>
                    <GradientStop Color="#FF99CC00" Offset="0"/>
                    <GradientStop Color="#FF046831" Offset="1"/>
                </RadialGradientBrush>
            </Rectangle.Fill>
        </Rectangle>
        <!--<Image Source="Assets\Images\CJBLogo.jpg" Stretch="Uniform" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="0" Height="100" Margin="5,0,0,0" />-->
        <views:MediaView Grid.Row="1" />
    </Grid>
</controls:WindowWithKeypadSupport>
